package com.ifengchao.dao.iface;

import com.ifengchao.commonUtil.DaoException;

import java.util.Map;

/**
 * 订单处理
 * @author chen
 *
 */
public interface DealActAccountDao {

	/**
	 * 根据广告主id查询订单总金额
	 * @return
	 */
	String queryOrderAmount(String adveterId) throws DaoException;

	/**
	 * 根据智子云广告主id查询广告主信息
	 * @return
	 */
	Map<String, Object> queryAdveterId(String advertiserid) throws DaoException;

	/**
	 * 更新广告主冻结金额
	 * @return
	 */
	void upAccountAmount(Map<String,Object> map) throws DaoException;

	/**
	 * 更新广告主冻结金额
	 * @return
	 */
	void insertErrorAmount(Map<String,Object> map) throws DaoException;

}
